﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PIMTestViewbyPIDDT.aspx.cs" Inherits="ViewbyProduct_ViewPIM_PIMTestViewbyPIDDT" Title="选择产品类型与时间段检索交调数据" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div>
    <br />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div style="float:left; width: 80%;">
    <table style="width: 100%">
        <tr>
            <td >
                <asp:Label ID="Label1" runat="server" Text="客户名称："></asp:Label>
                <asp:DropDownList ID="DropDownList1" runat="server" Height="24px" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
                    AutoPostBack="True">
                </asp:DropDownList>
            </td>
            <td >
                <asp:Label ID="Label2" runat="server" Text="产品名称："></asp:Label>
                <asp:DropDownList ID="DropDownList2" runat="server" Height="27px" >
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td >
                <asp:Label ID="Label3" runat="server" Text="起始时间："></asp:Label>
                <asp:TextBox ID="TextBox3" runat="server" ></asp:TextBox>
                
                <asp:CalendarExtender ID="TextBox3_CalendarExtender" runat="server" 
                    Enabled="True" TargetControlID="TextBox3">
                </asp:CalendarExtender>
                
            </td>
            <td >
                <asp:Label ID="Label4" runat="server" Text="终止时间："></asp:Label>
                <asp:TextBox ID="TextBox4" runat="server" ></asp:TextBox>
                
                <asp:CalendarExtender ID="TextBox4_CalendarExtender" runat="server" 
                    Enabled="True" TargetControlID="TextBox4">
                </asp:CalendarExtender>
                
            </td>
        </tr>
    </table>
    </div> 
    </ContentTemplate>
    </asp:UpdatePanel> 
    
        <div style="float:left;clear:right; height: 38px; width: 15%;">
            <asp:Button ID="Button1" runat="server" Text="查 询" onclick="Button1_Click" />
        </div> 
        
    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
    <ContentTemplate>
    <div style="float:left; clear:left; width:100%">           
        <br />
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" BackColor="White" BorderColor="White" 
            BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" 
            DataKeyNames="ProductSN,TestTime" EmptyDataText="没有相关数据！" GridLines="None" 
            onpageindexchanging="GridView1_PageIndexChanging" 
            onselectedindexchanged="GridView1_SelectedIndexChanged" PageSize="20" 
            Width="100%">
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <Columns>
                <asp:CommandField HeaderText="详细" ShowSelectButton="True" />
                <asp:HyperLinkField DataNavigateUrlFields="ProductSN" 
                    DataNavigateUrlFormatString="~/ViewbyProduct/ViewProductState/ProductSNLifeTime.aspx?ProductSN={0}" 
                    DataTextField="ProductSN" HeaderText="腔体序列号" 
                    NavigateUrl="~/ViewbyProduct/ViewProductState/ProductSNLifeTime.aspx" 
                    Text="ProductSN" />
                <asp:BoundField DataField="TestTime" HeaderText="测试时间" />
                <asp:BoundField DataField="ProductTypeID" HeaderText="产品类型" />
                <asp:BoundField DataField="UserID" HeaderText="测试员" />
                <asp:BoundField DataField="PCIP" HeaderText="IP地址" />
                <asp:BoundField DataField="SignalSource1" HeaderText="信号源1" />
                <asp:BoundField DataField="SignalSource2" HeaderText="信号源2" />
                <asp:BoundField DataField="SpectrumAnalyzer" HeaderText="频谱仪" />
                <asp:BoundField DataField="TestStep" HeaderText="测试阶段" />
                <asp:BoundField DataField="MoreContent" HeaderText="配置文件版本" />
                <asp:BoundField DataField="IsPass" HeaderText="是否通过" />
            </Columns>
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        </asp:GridView>
    </div> 
    </ContentTemplate>
    </asp:UpdatePanel> 
    </div> 
   
</asp:Content>

